package com.edgclub.edg.api;

/**
 * Api 的相应配置
 *
 * @author 陈坤彬
 */
public class ApiConfig {

//    public static String BASE_URL = "http://srv.edgteam.cn:8088/"; //正式服务器地址

    /**
     * 正式地址
     */
//    public static String SHOPE_UANUM="kdtUnion_edgjlb";
////    public static String BASE_URL = "http://120.25.84.184:8088/";  //正式服务器指定一台地址
//    public static String H5_URL = "http://h5.imguzhi.cn/html5/";  //h5正式
//    public static String CHARGE_BASE_URL = "http://pay.edgteam.cn:8089/";//支付正式服务器地址
//    public static String PAY_KEY = "UxiftA3qdERksfx";  //支付正式key
//    public static String HTTP_KEY = "3~BeQ0Lig!lW>7-U";  //

    /**
     * 测试地址
     */
    public static String SHOPE_UANUM="edgjlb" ;
    public static String BASE_URL = "http://120.24.78.166:8088/guzhi_edg/";//测试服务器地址
    public static String CHARGE_BASE_URL = "http://120.24.78.166:8088/edg_recharge/";//支付测试服务器地址
    public static String H5_URL="http://120.24.78.166:8088/h5/";  //h5测试
    public static String PAY_KEY="123456";  //支付测试key
    public static String HTTP_KEY="123456";  //


    public static String 	SHOUP_ADRR="https://wap.koudaitong.com/v2/showcase/homepage?alias=ise5lmnc";//有赞正式

    public static String YOUKU_URL = "https://openapi.youku.com/";
    public static String MAP_LOCATION_URL = "http://maps.google.cn/maps/api/geocode/json?language=CN&latlng=";  //正式服务地址：
    public static String MAP_LOCATION_URL2 = "http://maps.google.cn/maps/api/geocode/json?language=EN&latlng=";  //正式服务地址：
    public static String found_near_url = "http://wap.koudaitong.com/v2/showcase/homepage?alias=ise5lmnc&ps=360";
    public static String USER_PROTOCOL_URL = H5_URL + "agreement/index.html";//用户协议
    public static String USER_MY_GOLD = H5_URL + "EDG3.0/levi_edg/mygold.html";//我的金币
    public static String USER_SIGN_IN = H5_URL + "EDG3.0/levi_edg/sign.html";//签到
    public static String USER_MY_TASK = H5_URL + "EDG3.0/levi_edg/index.html";//我的任务
    public static String USER_MY_EXPERIENCE = H5_URL + "EDG3.0/experience/experience.html";//我的经验
    public static String USER_PLAYER_DETAIL = H5_URL + "EDG3.0/member/detail.html?toUserId=";//队员详情
    public static String USER_INFORMATION = H5_URL + "EDG3.0/message/message.html";//资讯
    public static String USER_POST_SHARE = H5_URL + "EDG3.0/newShare/index.html?id=";//贴子分享
    public static String GAME_SHARE_URL = H5_URL + "game_share/page.html";  //	游戏分享页地址：

    /**
     * 请求方法管理
     *
     * @author 陈坤彬
     */
    public class APIURL {
        // 登陆
        public static final String URL_LOGIN = "v3/user/login.do";
        // 注册环信用户（前端发现用户登录环信时，返回用户不存在状态码，调用该方法进行注册）
        public static final String URL_REGISTERHX = "v3/user/registerHx.do";
        // 注册(手机号)
        public static final String URL_REGISTER_PHONE = "v3/user/register.do";
        // 忘记密码接口
        public static final String URL_FORGET_PSW = "v3/forget/password.do";
        // 用户注册完善个人信息接口
        public static final String URL_USER_UPDATEINFO = "v3/user/set.do";
        // 注册(验证码)
        public static final String URL_REGISTER_CODE = "v3/sms/code.do";
        // 验证(验证码)
        public static final String URL_REGISTER_CODE1 = "v3/sms/verify.do";
        // 消息通知
        public static final String URL_PERSON_MESSAGE = "v3/user/msgset.do";
        // 上传图片
        public static final String URL_UPLOADFILE = "v1/upload.do";

        public static final String URL_UPLOADIMAGE = "v3/user/album/add.do";
        // 发表EDG签名
        public static final String URL_ADDUSERSIGN = "v1/intro/add.do";

        // 用户注册上传头像
        public static final String URL_USERIPLOAD = "v3/user/logo/update.do";

        // 验证手机号
        public static final String URL_VERIFYPHONE = "v1/sms/forgetPwd.do";
        // 验证验证码
        public static final String URL_VERIFYCODE = "v1/forget/verifyCode.do";
        // 打招呼
        public static final String URL_RELATION = "v1/user/hi.do";
        // 注册获取验证码
        public static final String URL_REGISTERSMS = "v1/sms/register.do";
        // 发布贴子
        public static final String URL_POSTS_CREATE = "v3/posts/create.do";
        // 修改贴子
        public static final String URL_POSTS_UPDATE = "v3/posts/update.do";
        // 修改图片排序
        public static final String URL_POSTS_UPDATE_SEQ = "v3/postsAlbums/updateSeq.do";
        // 修改贴子 --删除图片
        public static final String URL_POSTS_UPDATE_DELETE_IMG = "v3/postsAlbums/delete.do";
        // 图片上传成功，结束贴子
        public static final String URL_POSTS_FINISH = "v3/postsAlbums/finish.do";
        // 回复图片上传成功
        public static final String URL_POSTS_REPLY_FINISH = "v3/postsAlbums/finishReply.do";
        // EDG的贴子
        public static final String URL_POSTS_EDG = "v3/posts/edg.do";
        // edg活动列表
        public static final String URL_EDG_ACTIVITY = "v3/activity/list.do";
        // edg活动列表
        public static final String URL_EDG_TEAM = "v3/user/teams.do";
        // 全部帖子
        public static final String URL_POSTS_BB = "v3/posts/bb.do";
        //我关注的
        public static final String URL_POSTS_FRIEND = "v3/posts/friends.do";
        // 频道列表
        public static final String URL_POSTS_CHANNEL = "v3/postsChannel/list.do";
        // 查看个人帖子接口
        public static final String URL_POSTS_USER_POSTS = "v3/user/posts.do";
        // banner列表
        public static final String URL_POSTS_BANNER_LIST = "v2/topic/list.do";


        // 点赞列表
        public static final String URL_POSTS_LIKE_LIST = "v3/posts/likeList.do";
        // 贴子详情
        public static final String URL_POSTS_DETAIL = "v3/posts/detail.do";
        // 更多回复
        public static final String URL_POSTS_MOREREPLY = "v3/posts/moreReply.do";
        // 回复评论
        public static final String URL_POSTS_REPLYCOMMNET = "v3/posts/reply.do";
        // 回复贴子
        public static final String URL_POSTS_REPLYTOPIC = "v3/posts/comment.do";
        // 删除评论或者回复
        public static final String URL_POSTS_DELREPLY = "v3/posts/deleteReply.do";
        // 删除贴子
        public static final String URL_POSTS_DELETE = "v3/posts/delete.do";
        // 贴子加精
        public static final String URL_POSTS_ADD_TO_DIGEST = "v3/posts/nice.do";
        // 获取金币数量
        public static final String URL_POSTS_GET_GOLD_NUM = "v3/user/coinBalance.do";
        // 赏金币
        public static final String URL_POSTS_GOLD = "v3/posts/gold.do";
        // 点赞
        public static final String URL_POSTS_LIKE = "v3/posts/like.do";
        // 取消点赞
        public static final String URL_POSTS_UNLIKE = "v3/posts/unlike.do";
        // 评论点赞
        public static final String URL_REPLY_POSTS_LIKE = "v3/posts/reply/like.do";
        // 评论取消点赞
        public static final String URL_REPLY_POSTS_UNLIKE = "v3/posts/reply/unlike.do";
        // 替换用户头像
        public static final String URL_UPDATEUSERIMAGE = "v1/album/update.do";
        // 上传帖子相册
        public static final String URL_UPLOADTOPICIMAGE = "v1/upload/pic/mini.do";
        // 更改自己的地理位置
        public static final String URL_TRACE = "v1/trace/trace.do";
        // 反馈
        public static final String URL_FEEDBACK = "v1/feedBack.do";
        // 帖子举报
        public static final String URL_TOPICREPORT = "v3/report/saveReportPosts.do";
        // 回复举报
        public static final String URL_REPLYREPORT = "v3/report/saveReportReply.do";
        // 帖子分享接口
        public static final String URL_TOPICSHARE = "v3/share/log.do";
        // 上传帖子相册
        public static final String URL_UPLOADTOPICALBUM = "v3/postsAlbums/addAlbum.do";
        // 上传回复相册
        public static final String URL_UPLOADREPLYALBUM = "v3/postsAlbums/replyAlbums.do";
        // 检测帖子是否被举报
        public static final String URL_CHECKTOPICREPORT = "v3/report/checkPostsTimes.do";
        // 帖子举报结果关注
        public static final String URL_TOPICREPORTATTENTION = "v1/report/attentionPosts.do";
        // 获取图片
        public static final String URL_WELCOMEIMAGE = "v1/getStartupPage.do";

        // 收藏帖子
        public static final String URL_POSTS_COLLECTION = "v3/posts/favorite.do";
        // 完善个人信息上传头像
        public static final String URL_ICON_PERSON = "v3/user/set2.do";
        // 收藏帖子
        public static final String URL_POSTS_CANCLE_COLLECTION = "v3/posts/unfavorite.do";
        // 我的收藏
        public static final String URL_POSTS_MY_COLLECTION = "v3/posts/myFavorites.do";


        // 检查是否绑定第三方
        public static final String URl_CHECK_BIND = "v3/user/checkBound.do";
        // 获取验证码-注册界面
        public static final String URl_GET_CODE = "v1/sms/bound.do";
        // 账号绑定
        public static final String URl_USER_BIND = "v1/user/bound.do";



        // 上传语音
        public static final String URl_POSTS_UPLOADVOICE = "v3/postsAlbums/addAudioAlbum.do";

        //群组列表
        public static final String URL_GROUP_LOAD = "v3/group/all.do";
        //群详情
        public static final String URL_GROUP_DETAIL = "v3/group/detail.do";
        //用户退群接口
        public static final String URL_GROUP_USERS_QUIT = "v3/group/users/quit.do";
        //申请加入群
        public static final String URL_GROUP_APPLY = "v3/group/users/join.do";
        //获取群成员接口
        public static final String URL_GROUP_MEMBER_LIST = "v3/group/users/newList.do";
        //根据imid获取用户信息接口
        public static final String URL_From_USER = "v3/user/imids.do";
        //根据gimid(环信群ID)获取群组信息接口
        public static final String URL_From_GROUP = "v3/group/gimid.do";
        //关注和取消关注接口
        public static final String URL_SUBSCRIBE = "v3/user/subscribe.do";
        //设置用户备注名称
        public static final String URL_ALIAS = "v3/user/alias.do";
        //刷新token接口
        public static final String URL_GETTOKEN = "v3/user/token.do";
        // 个人主页信息接口
        public static final String URL_HOMEPAGE = "v3/user/homePage.do";
        // ta个人主页信息接口
        public static final String URL_OTHERHOMEPAGE = "v3/user/homePage/other.do";
        //查看TA的图片接口
        public static final String URL_USER_IMAGE = "v3/user/posts/albums.do";
        //个人相册列表接口
        public static final String URL_USER_PHOTO = "v3/user/album/list.do";
        //删除相册接口
        public static final String URL_USER_DELIMAGE = "v3/user/album/delete.do";
        // 荣誉勋章信息接口
        public static final String URL_HONOUR = "v3/user/honor/list.do";
        //修改密码
        public static final String URL_PASSWORD = "v3/user/updatePwd.do";
        //修改昵称
        public static final String URL_CHANGE_NAME = "v3/user/nick/update.do";
        //帖子回复列表
        public static final String  URL_MESS_ATME = "v3/posts/atme.do";
        //修改签名
        public static final String URL_SING_NAME = "v3/user/intro/update.do";
        //我的粉丝
        public static final String URL_FANS = "v3/user/fans.do";
        //我的关注
        public static final String URL_FOLLOW = "v3/user/follows.do";
        //视频主页接口
        public static final String URL_VIDEO = "v3/find/videos/list.do";




        //推荐列表
        public static final String URL_FIND_INDEX = "v3/find/index.do";
        //视频列表
        public static final String URL_FIND_VIDEO = "v3/find/videos/index.do";
        //漫画列表
        public static final String URL_FIND_CARTOON = "v3/find/cartoons/index.do";


        //用户上传群图册接口
        public static final String URL_UPLOAD_GROUPIMAGE = "v1/group/album/add2.do";




        // 获取CHARGE
        public static final String URL_CHARGE = "v1/recharge.do";
        // 查询订单状态
        public static final String URL_QUERYORDER = "v1/recharge/query.do";
        // 查询余额
        public static final String URL_QUERYBANANCE = "v1/query/balance.do";
        // 获取短信验证码
        public static final String URL_GETCODE = "v1/sms/setPayPwd.do";
        public static final String URL_GETCODE1 = "v1/sms/resetPayPwd.do";
        //忘记密码或者绑定支付手机号接口：
        public static final String URL_SetPAYPWD = "v1/conf/setPayPwd.do";
        //获取原始密码接口：
        public static final String URL_GetPAYPWD = "v1/conf/getPayPwd.do";
        //重置支付密码接口
        public static final String URL_RestPAYPWD = "v1/conf/resetPayPwd.do";
        // 查询红包记录
        public static final String URL_QUERYREDDETAIL = "v1/red/detail.do";
        // 查询交易记录
        public static final String URL_QUERYTRANSACTIONDETAIL = "v1/query/detail.do";
        // 创建红包
        public static final String URL_CREATE_RED = "v1/red/create.do";
        // 删除红包
        public static final String URL_DELETE_RED = "v1/red/delete.do";
        // 打开红包
        public static final String URL_OPEN_RED = "v1/red/bag/open.do";
        // 打开红包记录
        public static final String URL_OPEN_RED_DETAIL = "v1/red/bag/users.do";
        // 给指定用户发红包
        public static final String URL_SEND_RED_TO_USER = "v1/red/send/user.do";
        //获取公共参数
        public static final String URL_COMMON = "v1/leadPage/conf.do";
        public static final String URL_CHECKPASS = "v1/conf/checkPayPwd.do";
        //绑定提现
        public static final String URL_BANGDING_TX = "v1/withdraw/bind.do";
        //        已绑定提现方式
        public static final String URL_CHECK_TX = "v1/withdraw/bind/list.do";
        //发送提现验证码短信
        public static final String URL_GETCODE2 = "v1/sms/withdraw.do";
        //提现
        public static final String URL_SUBMINT = "v1/withdraw/submit.do";
//        提现记录列表

        public static final String URL_TIXIAN = "v1/withdraw/list.do";
//        绑定手机号接口
        public static final String URL_BOUND_PHONE= "v3/user/boundPhone.do";
//        提现记录列表
        //更多游戏
        public static final String URL_GAME_LIST = "v1/game/list.do";
        //游戏BANNER
        public static final String URL_GAME_BANNER = "v2/topic/game.do";
        //游戏中心
        public static final String URL_GAME_INDEX = "v1/game/index.do";
        //好友排名
        public static final String URL_GAME_FRIEND_RANKING = "v1/game/user/ranking.do";
        //个人最近所玩游戏列表
        public static final String URL_GAME_NEAREST_LIST = "v1/game/user/nearest.do";
        //游戏详情
        public static final String URL_GAME_DETAIL = "v1/game/detail.do";
        //游戏中心
        public static final String URL_GAME_SCORE = "v1/game/user/score.do";
        //帖子打赏榜单详情接口
        public static final String URL_REWARE_LIST = "v3/posts/rewardList.do";
        //用户搜索接口
        public static final String URL_USER_SEARCH = "v3/user/search.do";
        //用户搜索接口
        public static final String URL_GROUP_USER_SEARCH = "v3/group/search.do";
        //举报记录列表
        public static final String URL_REPORT_LIST = "v3/report/list.do";
        //举报记录列表
        public static final String URL_REPORT_UPDATE = "v3/report/update.do";
        //用户举报
        public static final String URL_CHECKUSERREPORT = "v3/report/checkUserTimes.do";
        // 关注举报用户结果
        public static final String URL_ATTENTIONUSER = "v3/report/attentionUser.do";
        // 举报用户
        public static final String URL_USERREPORT = "v3/report/saveReportUser.do";
        // 设置消息是否接收接口
        public static final String URL_REPORT_MSGSET = "v3/report/msgSet.do";
        // 封用户和设备接口
        public static final String URL_FORBIDDEN= "v3/user/forbidden.do";
        // 踢人接口
        public static final String URL_KICK_GROUP= "v3/group/kicked.do";
        // 帖子添加到某个频道接口
        public static final String URL_ADD_CHANNEL= "v3/postsChannel/addSet.do";
        // 帖子移出频道接口
        public static final String URL_REMOVE_CHANNEL= "v3/postsChannel/deleteSet.do";
    }

}
